DEW.UrlManager = (function(){
    this.baseURL = DEW.appURL;

    this.buildURL = function(route,params,hash) {
        return this.baseURL + "/" + route + (params? "?" + $.param(params) : "") + (hash? "#" + hash : "");
    };
    return this;
})();